package com.sinosoft.entity;

import java.util.Date;
import java.util.List;

import org.apache.commons.lang3.StringUtils;

public class DefUserRoleRela {

	private Long userRoleRelaId;
    
    private DefUser user;
    
    private List<DefRole> role;

    private String rcState;

    private Date createDate;

    private Date modifyDate;

    private Long createUserId;

    private Long modifyUserId;

	public Long getUserRoleRelaId() {
		return userRoleRelaId;
	}

	public void setUserRoleRelaId(Long userRoleRelaId) {
		this.userRoleRelaId = userRoleRelaId;
	}

	public DefUser getUser() {
		return user;
	}

	public void setUser(DefUser user) {
		this.user = user;
	}

	public List<DefRole> getRole() {
		return role;
	}

	public void setRole(List<DefRole> role) {
		this.role = role;
	}

	public String getRcState() {
		return rcState;
	}

	public void setRcState(String rcState) {
		this.rcState = StringUtils.isBlank(rcState) ? null : rcState.trim();
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public Date getModifyDate() {
		return modifyDate;
	}

	public void setModifyDate(Date modifyDate) {
		this.modifyDate = modifyDate;
	}

	public Long getCreateUserId() {
		return createUserId;
	}

	public void setCreateUserId(Long createUserId) {
		this.createUserId = createUserId;
	}

	public Long getModifyUserId() {
		return modifyUserId;
	}

	public void setModifyUserId(Long modifyUserId) {
		this.modifyUserId = modifyUserId;
	}

    
}